//全局常量
angular.module("constantService", [])
    .provider("PreferenceKey", function () {

        this.$get = function () {
            return {
                //快刷刷头类型
                MOBILE99BILL_BRUSH_TYPE: "mobile99bill_brushType",

                /**3G上传图片时是否压缩成1024X768后上传。0不压缩，1压缩。默认压缩*/
                G3_WIFI_COMPASS: "3g_wifi_compass",

//自定义form的API接口
                HOST_FORM_API_URL: "form_api_server",

                //用户名
                PRE_KEY_USER_NAME: "username",

                //密码
                PRE_KEY_PASSWORD: "password",

                PRE_KEY_UID: "uid",

                PRE_KEY_SID: "sid",

                PRE_KEY_TOKEN: "token",

                PRE_KEY_TERMINAL: "terminal",

                //保存密码
                PRE_KEY_SAVE_PW: "save_password",

                //全名
                PRE_KEY_FULL_NAME: "full_name",

                PRE_KEY_MOBILE:"mobile",

                PRE_KEY_PLATFORM:"platform",

                PRE_KEY_PLATNAME:"platName",

                PRE_KEY_BUSINESSOFFICE:"businessOffice",

                PRE_KEY_BUSINESSOFFICE_NAME:"businessOfficeName",

                PRE_KEY_ORG_CITY_ID:"orgCityId",

                PRE_KEY_AGENT_ID:"agentid",


                //服务器地址
                PRE_KEY_SERVER_HOST: "server_host",

                //服务器端口
                PRE_KEY_SERVER_PORT: "server_port",

                //HTTPS端口
                PRE_KEY_HTTPS_PORT: "https_port",

                //是否使用https
                PRE_KEY_USE_HTTPS: "use_https",

                //是否启动消息中心
                PRE_KEY_ENABLE_PUSH_MSG: "enable_push",

                //消息中心
                PRE_KEY_MSG_HOST: "msg_server_host",

                //消息服务器端口
                PRE_KEY_MSG_PORT: "msg_server_port",

                //应用服务器地址和端口
                PRE_KEY_APP_SERVER: "app_server",

                //gobal preference package name
                PRE_KEY_PREFERENCE_PACKAGE: "com.dtcloud.aep",

                //UserInfo
                PRE_USER_INFO: "user_info",



                PRE_KEY_EMPLOYEENUMBER: "employeeNumber",



                //地区
                PRE_ZONE_ID: "zone_id",

                //eid
                PRE_KEY_EID: "eid",

                //影像服务器地址
                PRE_UPLOAD_SERVER: "UploadServer",

                //呼出电话标记
                PHONE_FLAG: "call_phone",

                //电话呼出时候的类名
                PHONE_CALLED_ACTIVITY: "call_activity",

                //电话的呼叫状态
                CALL_FLAG: "call",

                //电话的呼叫状态
                PHONE_NUMBER: "4008008111",


                //当前服务器的环境类型,是net org com?
                PRE_HOST_TYPE: "host_type",

                //是否登录
                ISLOGIN: "isLogin",

                //用户信息
                G_USER_INFO: "G_USER_INFO",

                //是否接收消息
                G_RECV_MSG: "G_RECV_MSG_NEW",

                G_HOST_TYPE: "G_HOST_TYPE",

                //机构id
                BUSINESS_OFFICE: "businessOffice",

                //zzb的服务器地址和接口
                HOST_ZZB_URL: "zzb_server",

                JOB_ID: "jobId",

                //xmpp服务器地址
                HOST_XMPP_URL: "xmpp_server",

                //atm服务器地址
                HOST_ATM_URL: "atm_server",

                //自定义form的API接口
                HOST_FORM_API_URL: "form_api_server",

                SETTING_INPUT_PARAMS: "setting_input_params",
                SETTING_ACTION_PARAMS: "setting_action_params",

                CRM_UPDATE_CONFIG_TEST: "update_config_key",

                HOST_BESTPAY_URL: "bestpay_server"
            }
        }

    }
)